home *** CD-ROM | disk | FTP | other *** search
- In article <3jbvhk$f5k@newsbf02.news.aol.com>, stranahan@aol.com (Stranahan) says:
- >
- >8.3 SUCKS - luckily, WIn NT allows long file names - all our system at A51
- >use long file names...mo better then the alternative..
-
- Have you stress-tested this? I think it works like this:
- since LW/Win uses the Windows common file dialog, you'll
- be able to see, select and enter long filenames on WinNT
- NTFS partitions.
-
- Now, the big question is how many characters can be used
- to specify a fully-qualified filename path string? Each
- component in a long WinNT filename path string can be 256
- chars: that is, each filename or directory name can be
- 256 chars each, plus the two chars for the drive name,
- plus all the slashes in-between. The basic Win32 file-open
- function can accept a 256-char filename path, but it also
- uses the notion of "current directory," meaning the fully
- specified filename could be much longer than 256 chars.
-
- As far as I can tell, LW/Win always saves a fully qualified
- absolute pathname in scene files, which is different than
- the Amiga version, which often used relative path names
- (relative to the Toaster / LW directory). This will present
- some problems in itself, notably, whenever drive letters change
- on the system, your scene files will suddenly stop loading
- automatically, and will pester you to re-point every object
- and texture image. Of course, you can change any drive letter
- at any time in WinNT, using the Disk Admin program, and it's
- easy to make new drive letters with File Manager and SUBST.
-
- First, we need to know how large their buffers are when
- they call the common file dialog. Then we need to insure
- that all filename-path subroutines can handle such long
- filename paths. Then we need to confirm that all other
- buffers, such as the one that reads the LoadObject line
- in scene files, can handle the long pathnames, too.
-
- There are a *lot* of things that need to be stressed before
- we can claim that LW/Win can handle NTFS long filenames.
-
- In other words, I'll bet a doughnut that I can break LW/Win's
- handling of filenames. When those buffers overflow within the
- program, who knows what kind of stack data will be trashed.
-
-
-
-